import request from "@/utils/request";
// 栏目
// 获取栏目数据
export const getcategoryAPI = () =>
	request({
		url: "/category",
	});
// 添加栏目
export const addcategoryAPI = (data) =>
	request({
		method: "post",
		url: "/category",
		data,
	});
